﻿Public Class Pregunta : Implements IEquatable(Of Pregunta)
    Private _Enunciado As String
    Private _Respuesta As Boolean
    Public Overloads Function Equals(ByVal other As Pregunta) As Boolean Implements System.IEquatable(Of Pregunta).Equals
        If Me.Enunciado.ToUpper = other.Enunciado.ToUpper Then
            Return True
        Else
            Return False
        End If
    End Function
    Public Property Enunciado As String
        Get
            Return _Enunciado
        End Get
        Set(value As String)
            _Enunciado = value
        End Set
    End Property

    Public Property Respuesta As Boolean
        Get
            Return _Respuesta
        End Get
        Set(value As Boolean)
            _Respuesta = value
        End Set
    End Property

End Class
